package com.pubsys.main.client.paginas.inserir;

import java.util.HashMap;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.MouseListener;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.Widget;
import com.pubsys.main.client.aplicacao.Activity;
import com.pubsys.main.client.aplicacao.ActivityFactory;
import com.pubsys.main.client.paginas.inserir.view.InsercaoUI;
import com.pubsys.main.shared.model.Referencia;

public class PaginaInsercao extends Activity {

	private InsercaoUI viewComponent;
	private Button inserirButton;
	private TextArea textoTeste;
	
	public PaginaInsercao(){
		
	}
	
	@Override
	public void start() {
		//inicializa a view da pagina
		this.viewComponent = new InsercaoUI();
		this.inserirButton = this.viewComponent.getInsertButton();
		this.textoTeste = this.viewComponent.getTextArea();
	}

	@Override
	public HashMap<String, String> getActivityParametersAsHashMap() {
		return null;
	}

	@Override
	public void setActivityParametersFromHistoryToken(HashMap<String, String> placeParameters) {
	}

	@Override
	public Widget getView() {
		return this.viewComponent;
	}

	@Override
	public String getUniqueActivityName() {
		return ActivityFactory.INSERCAO;
	}

}
